package titt.error;

public class NuderException extends RuntimeException {
	private static final long serialVersionUID = 5301972805667981221L;

	private final int status;
	private final Object resp;
	
	public NuderException(int status) {
		this(status,null);
	}
	
	public NuderException(int status, Object resp) {
		this.status = status;
		this.resp = resp;
	}
	
	public int getStatus() {
		return status;
	}
	
	public Object getReponse() {
		return resp;
	}
}
